package dk.eclipse.android.badassapp.contact;

import android.graphics.Bitmap;

/**
 * This class holds cache information about a contact
 * 
 * @author Ronni Kahalani (eclipse.dk)
 *
 */
public class ContactInfo {

	Long contactId;
	String displayName;
	String phoneNumber;
	Bitmap photo;
	
	/**
	 *  Constructor.
	 *  
	 * @param contactId
	 * @param displayName
	 * @param phoneNumber
	 * @param photo
	 */
	public ContactInfo(Long contactId, String displayName, String phoneNumber, Bitmap photo) {
		super();
		this.contactId = contactId;
		this.displayName = displayName;
		this.phoneNumber = phoneNumber;
		this.photo = photo;
	}

	/**
	 * @return the contactId
	 */
	public Long getContactId() {
		return contactId;
	}
	/**
	 * @param contactId the contactId to set
	 */
	public void setContactId(Long contactId) {
		this.contactId = contactId;
	}
	/**
	 * @return the photo
	 */
	public Bitmap getPhoto() {
		return photo;
	}
	/**
	 * @param photo the photo to set
	 */
	public void setPhoto(Bitmap photo) {
		this.photo = photo;
	}
	/**
	 * @return the phoneNumber
	 */
	public String getPhoneNumber() {
		return phoneNumber;
	}
	/**
	 * @param phoneNumber the phoneNumber to set
	 */
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	/**
	 * @return the displayName
	 */
	public String getDisplayName() {
		return displayName;
	}
	/**
	 * @param displayName the displayName to set
	 */
	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}
}
